package org.graduation.recruitment.entity.pojo;

import lombok.Data;
import org.graduation.recruitment.entity.dto.DTO;

import java.util.Date;

/**
 * 学生用户
 */
@Data
public class StudentUser extends User implements DTO {
    private static final String USER_TYPE = "STUDENT";
    /**
     * 学号
     */
    private String studentId;
    private String name;
    private String address;
    private String email;
    private String phone;
    /**
     * 性别，0男1女。
     */
    private int sex;
    /**
     * 出生年月
     */
    private Date birthDay;
    private String school;

    @Override
    public String getUserType() {
        return USER_TYPE;
    }
}
